﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AL.Service {

    public class Factory {

        // 〓 调用层级关系 〓
        // Service.Factory -> DAL.Provider -> DAL.Base.BaseDAL -> DAL.ContextAL -> Model.Message

        //public void Test() {
        //    var m = new Models.Message();
        //    m.ID = -1;
        //    m.CreateDate = DateTime.Now;
        //    m.Title = "测试标题";
        //    m.Content = "测试正文内容";
        //    m.SendUserName = "HH";
        //    m.ReceiveUserName = "AL";
        //    m.IsRead = false;
        //    m.IsDeletedBySender = false;
        //    m.IsDeletedByReceiiver = false;

        //    DAL.Provider.Messages.Create(m);
        //}






        private static Messages _messages = new Messages();
        /// <summary>
        /// HH: 短消息 - BLL操作类
        /// </summary>
        public static Messages Messages {
            get { return _messages; }
            set { _messages = value; }
        }







    }

}
